package com.example.demo.dao;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import java.util.List;
import com.example.demo.entity.Model_infos;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hanfei
 * @since 2021-05-13
 */
@Repository
public interface Model_infosMapper extends BaseMapper<Model_infos> {
        List<Model_infos> findByKey(Pagination page, @Param("key") String key);
        List<Model_infos> findByKeyAndAll(Pagination page, @Param("key") String key,@Param("entity") Model_infos entity);
}
